package com.gongyinlian.personalprofilewebsiteserver.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 刷新Token请求DTO
 * 
 * @author personal-profile-website
 * @date 2024-10-27
 */
@Data
@Schema(description = "刷新Token请求参数")
public class RefreshTokenRequest implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 刷新令牌
     */
    @Schema(description = "刷新令牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "刷新令牌不能为空")
    private String refreshToken;
}

